package main

import (
	"fmt"
	"io"
	"strings"
)

func main() {
	r := strings.NewReader("some io.Reader stream to be read\n")

	//io.Reader stream
	s := io.NewSectionReader(r, 5, 17)

	p := make([]byte, 2)

	s.ReadAt(p, 0)
	fmt.Printf("%s", p)
}
